<template>
  <div class="controlvideo">
    <!-- //video-url：视频地址 autoplay:页面加载时自动播放 muted:静音播放 -->
    <easy-player id="player" class="w-full h-full" ref="videoPlayer" :video-url="videoUrl" :autoplay="true"
      :muted="true"></easy-player>
  </div>
</template>


<script setup lang="ts">
import { ref } from 'vue'
let videoPlayer = ref()
let videoUrl = ref(`https://www.bilibili.com/video/BV1thdhYEE6b/?spm_id_from=333.1007.tianma.1-1-1.click&vd_source=87d7210435791d18f84826562aa8d475`)

</script>


<style lang="scss" scoped>
.controlvideo {
  width: 100%;
  height: 600px;

}
</style>